package Translate;

public class Nx extends Exp {

    Tree.Stm stm;

    @Override
    Tree.Exp unEx() {
        return new Tree.ESEQ(stm, new Tree.CONST(0));
    }

    Nx(Tree.Stm s) {
        this.stm = s;
    }

    @Override
    Tree.Stm unNx() {
        return stm;
    }
}
